[TIMOB-11869] Work on cleaning up the auth lib. Added the beginning of the auth test. Added support for --conf to test harness.