Fix authentication.