Make http_helpers work with Capybara