Add authentication to the MongoDb connection