[#59] yet another fix for authentication module