Invalidate cookies on upgrading from Rails 2 to Rails 3. Fixes #899