More privacy-related about:config settings: https://wiki.mozilla.org/Privacy/Privacy_Task_Force/firefox_...
There are easier ways of getting a 'fresh start' for cookies and logins on Firefox than this. It has taken me an hour to undo some of the damage done by even timid experimentation with these settings.
Sadly, this experiment logged me out of a YouTube-only Google account that I was able to make before Google closed the loophole that allowed you to make a YouTube-based account without the need for any email address or phone number. Re-authenticating at login for this account now requires that you supply an existing email address and phone number, so the utility of that particular account has gone forever.
Creating a backup before making any changes would solve that.