Seen on a local setup, where after a successful SUL3 login the local wiki deleted the CentralAuth cookies and replaced them with an anonymous local session. Not 100% sure this was the issue but seems likely.
(Not an issue in Wikimedia production where the central domain doesn't share a parent domain with anything else.)