Fix when no password is provided should return status code Unauthorized rather than NotFound.