Rewrite the signin integration test using capybara