Since upgrading to Safari 12, many sites that I could remain logged into for extended periods of time now aggressively log me out, often several times a day. Sometimes it even becomes difficult to successfully log back in again.
Sites where I have this issue include Amazon (both the store and AWS), SE sites, G Suite, Facebook, GitHub, and many other major sites. Typically logging in again requires reentering two-factor authentication, even if this has been disabled for Safari (with "don't ask again", or "trust"). Other sites (e.g., Wikipedia, The Guardian) have no trouble keeping me logged in, even with ad blockers fully enabled.
My Safari privacy settings are:
How do I stay logged in on Safari 12? What's changed or what do I need to change to get the old behavior back?