Would you be so kind to share your script (the login part)?
I can imagine that a clean login is more future-proof than storing a bunch of cookies from previous logins.