Added first version of hash verification in cookies for long sessions.
Removed sysouts.