A tip for Librewolf: you can easily toggle permanent cookie storage for a site through the "Always store cookies/data for this site" option in the shield button menu on the URL bar. This is very convenient compared to vanilla Firefox where you have to add exceptions through the settings.