extend kerberos integration

This adds better integration of the Kerberos part