Fix authentication error.