simulate an admin login to cover more code