Ensure ttl headers are respected on json responses from Magento.  Always strip cookies from 404's to prevent issues with a 404 error breaking the user's session.

Thanks @brentaligent @willtran and @andrew-dwyer