bug fixes for KerbAuth