I had this problem with FF.
I had to delete a certain cookie file in my FF profile.
it will show you how to find the FF profile folder (it's a hidden folder). Inside the FF profile folder is a file called cookies.sqlite. Once you delete that file FF creates a new one to replace it, which eliminates the messed up cookies.