changing login test to work on OS X