For like two weeks now I'm facing a strange issue with Safari (Version 15.5 (17613.2.7.1.8)) on macOS (Monterey), which keeps "forgetting" all cookies, including log-in ones.
That is extremely annoying because it happens really often - maybe every hour? And with most sites nowadays you have to enter 2FA as well so if you're logged in to multiple sites you're working with for the whole day, I bet I'd have to spend at least an hour every day re-logging to every single one. I've been using Safari almost exclusively for years now and have all credentials stored in Keychain so switching to a different browser is an almost impossible task (I know I can have a look into Keychain for passwords but I'd prefer not to look into it multiple times a day).
I'm not aware of any changes to my system, other than uninstalling Java JDK 16.0.2 (I think that was the version...). The reason for uninstalling that was another weird issue - for some reason, whenever I clicked a button on any page, it "clicked" the back button and I got redirected back - this no longer happens after uninstalling Java. I definitely didn't install any browser extensions.
Any thoughts what might be causing that and how to fix it?