import AuthenticationFailed from the right module