Re: This is why I set Firefox to clear cache, etc... on close
Making sure that active logins is ticked when you clear recent history (desktop)/private data (mobile) will do it, if you then go to a site which pops up a certificate alert (self-signed, expired, or whatever) then you'll have to re-confirm.