Set `config.action_dispatch.use_cookies_with_metadata` to true
After we validate the Rails 6 upgrade, and we don't need backward compatible cookies anymore, we can remove the line:
Rails.application.config.action_dispatch.use_cookies_with_metadata = false