[#59] improved AuthenticationSystem module