Cleanup expiring sessions
(from redmine: issue id 379, created on 2018-01-22tgradl, closed on 2018-01-22)