fixed an error on authentication UT (on logout) now spotted thanks to previous commit