Fix bug: Unhandled error may assign error response to authentication.user.