I ‘think’ I’ve solved it.
The cookie you need to save is not from avast.com but this:
aosbrowserpluginlocalstoragescope.com