Fix auth with mongo