code: def login(self):
      
      # POSTS a login to mal.
      mal_headers = {
        'Host': 'myanimelist.net',
      }
      mal_payload = {
        'username': self.username,
        'password': self.password,
        'cookie': 1,
        'sublogin': 'Login'
      }
      self.session.headers.update(mal_headers)
      r = self.session.post(u'http://myanimelist.net/login.php', data=mal_payload)
      return self
docs: Logs into MAL and sets cookies appropriately.
  
      :rtype: :class:`.Session`
      :return: The current session.