MDL-36020 overview/report: add unlock_session function