Fix unknown timezone in cookies. More tests.
Add declarations