JWT authentication: kibana rejects valid tokens after session expiry

I’ve created an issue in the kibana repo. I suspect there is a edge case where the kibana cookies conflict and take precedence over valid JWT tokens.