Maybe you can save avast online security cookies in CCleaner.
Options/Cookies and move cookies you want to keep to the right field.
I don’t use AOS so I don’t know if this is going to work.