Introduce UpgradeLegacySignedCookieJar to transparently upgrade existing signed cookies generated by Rails 3 to avoid invalidating them when upgrading to Rails 4
Merge pull request #9909 from trevorturk/9740

Transparently upgrade signed cookies when setting secret_key_base