Authenticate against the mongodb