Adding migration of existing cookies to new sessions.

Not a bad idea, I'll add that in a moment.