title: Scrapy login works for certain website but does not work for other websites
body: <p>I can use below code to login to Github. But when I try the same code to other websites, it still remains at the login page, it does not login. Did I miss anything? </p>
  
  <ul>
  <li>Github</li>
  </ul>
  
  <pre><code>class GithubSpider(scrapy.Spider):
  
      name = 'test'
      start_urls = ['https://github.com/login'] 
  
      def parse(self, response):
          token = response.css('form input::attr(value)').extract_first()
          return FormRequest.from_response(response,
                                           formdata=
                                           {
                                               'csrf_token': token,
                                               'login': '*******',
                                               'password': '*******'
                                           },
                                           callback=self.start_scraping)
  
      def start_scraping(self, response):
          open_in_browser(response)
          print('yes')
  </code></pre>
  
  <ul>
  <li>Airline website</li>
  </ul>
  
  <pre><code>class AirlineSpider(scrapy.Spider):
  
      name = 'test'
      allowed_domains = ['hawaiianairlines.com']
      start_urls = ['https://www.hawaiianairlines.com/my-account/login/']
  
      def parse(self, response):
          token = response.css('form input::attr(value)').extract_first()
          return FormRequest.from_response(response,
                                           formdata=
                                           {
                                               'csrf_token': token,
                                               'UserName': '*********',
                                               'Password': '*********'
                                           },
                                           callback=self.start_scraping)
  
      def start_scraping(self, response):
          open_in_browser(response)
          print('yes')
  </code></pre>