add support for mongoDB authentication