https://github.com/mongodb-haskell/mongodb/blob/497025bd3c7d02efdf903b21486f8929ee14eb11/Database/MongoDB/Connection.hs#L180 `unless (not is_auth)` should be `unless is_auth`. I verified this was a logic error by actually running queries on the connection this code says auth failed for.