Added login test for admin