Use the correct exception, InvalidAuthenticationError, for authentication errors.
Whitespace