Jormungandr: fix UT of authentication