You may need to turn off developer mode.
https://forums.macrumors.com/threads/safari-keeps-logging-me-out-of-all-sites.2343060/
This is a bug and this prevents me from using safari at work as a developer. Apple, please fix it.
Topic:
App & System Services
SubTopic:
Core OS
Tags: