change the valid_signin method for testing, to visit the signin page before trying to log in