Qfs kerberos lib: unit test move client and server init into the main thread, to run init just once per thread, and serialize access to init, mainly to serialize access to keytab, as concurrent access doesn't seem to work with mit kerberos release.