unit tests admin login/logout helper