Feat (kerberized example client) Example client initialize credentials

Fix of LDAP auth after merge. 
Chage in API: function that set Kerberos use.
Useless code removed.