Fix session problems with Persona backend. Fix bug #1046568.