Update cookie serializer
Update cookie serializer

This was suggested as part of a security code review to ensure the
cookies were properly serialized.

bitzesty/trade-tariff-frontend,bitzesty/trade-tariff-frontend,bitzesty/trade-tariff-frontend,bitzesty/trade-tariff-frontend