Adding migration of existing cookies to new sessions.

I'll bet that this TODO won't happen before we finish migrating people and we get to delete all this code.