fix selenium test for login