Support the authentication for the mongodb