Firefox always logs me out

I specifically have this problem with Firefox on my laptop. I know we’re not supposed to need to sign in with usernames and passwords anymore. It’s just frustrating because every time I refresh the page, I have to log in again. And HA always asks if I want to remember this login. If I click ‘Yes’ all it does is store a new refresh token. What’s going on? How do I stop this?