Fixing waitForLogin() method input parameters