Use form input for login, update tests for successful login