authenticate_user endpoint tests passing