Use cookiejar module to create your own cookie and resend the request instead of using the cookie from the browser