code: def _authenticate(self):
          
          csrf_token = self._get_csrf_token()
          self._login(csrf_token)
  
          domain_text_element = self._get_domain_text_of_authoritative_zone()
          self.domain_id = self._get_domain_id(domain_text_element)
          LOGGER.debug('Easyname domain ID: %s', self.domain_id)
  
          return True
docs: Authenticates against Easyname website and try to find out the domain
          id.
          Easyname uses a CSRF token in its login form, so two requests are
          neccessary to actually login.
  
          Returns:
            bool: True if domain id was found.
  
          Raises:
            AssertionError: When a request returns unexpected or unknown data.
            ValueError: When login data is wrong or the domain does not exist.