cookie size issue

I've removed the cookies. It should work, the tests are ok, but please check it out just in case I've missed something.
It still needs a lot of refactoring, which I will try to accomplish during the next days.
I also believe we need to think a bit more about the cookies and a possible way of using them without side effects like the one generating this issue.