Doesn't look like it was the homeserver's fault. Just happened again with my newly setup server. This is getting annoying.
I wonder if it's kwallet's fault because for some reason it did not unlock on login. Does firefox/librewolf use the secret service/portal?