[fedocal] master: Use scopedsession rather than plain session (89a2fcf)