Adds support for connection to mongodb using user/password.