Raise separate error on authentication fail