[#1777] Added a krb auth object.
Final changes for kerberos plugin
Merge with master