When MongoDB username/password is not provided, don't sent it to MongoDB::MongoClient because even the undef values tell MongoDB that it should try to authenticate