Added kerberos plugin

Sorry for the many commits - git rebase is not friendly today.