How do other coders take care of this? Or is it considered acceptable to use a cookie that could last forever?
Salting with the user's IP will not work, because most of my visitors connect via Tor...
That said, is the date reversible in any way? As long as the date is reversible and the rest is constant, all you need to do to make a fake cookie is use the current date with the constant part.
(edit)Keeping the password's key, forever, is really no better than storin the password in plain text.