To help to debug similar problems, you can use HTTP client like Postman and manually change the cookies and play with them and observe the HTML. That is usually faster than running the scraper all over again.