UnitTest for Authentication partial implemented.