Updated standardLoginTest() to deal with current login scheme