'Makes a request to the token url to get a CSRF token'

def _get_auth(self):

    try:
        self.response = self.session.get(urljoin(self.url, u'token.html'), verify=False)
        self.response.raise_for_status()
        self.auth = re.findall(u'<div.*?>(.*?)</', self.response.text)[0]
    except Exception as error:
        sickbeard.helpers.handle_requests_exception(error)
        self.auth = None
    return self.auth
