Change the settings as you wish.
Check if the cookie is set.
If it is, close FireFox.
Open FireFox and check if the cookie is still there.