extended cmAuth
added tests
Finish add twoFactorAuth to cmAuth