error is instance of AuthenticationException and must be call messageKey
to use translate