Request cookie for permanent session token.

def request_sid_cookie(self, username, password):
        """Request cookie for permanent session token."""
        log.debug("Requesting SID cookie")
        target_url = self._login_url + '?usr={0}&pwd={1}&persist=y'.format(
            username, password
        )
        cookie = urlopen(target_url).read()
        return cookie