Basic mongo authentication for login/signup