Just spent several hours beating my head against this. Turned out it only applies to Firefox, tested with Chrome & worked fine, amazingly, tested with IE and that worked as well !!
Anyway, I take no credit for this, see full article
Firefox consistently writes cookie with incorrect data (from the next post actually) Theres a one line fix....dead easy