Use proper error type in auth logon challenge handler