debug logging
Added logging of human-readable error messages for Kerberos errors