switched to new MongoClient class, added `user` and `pwd` keyword parameters