Add beta support for kerberos authentication and kerberos
authentication over moonshot. This is a provisional update, some files
need a hard refactoring before be totally usefull for everyone.