clear sessions

This should cover the answer in http://lists.openmicroscopy.org.uk/pipermail/ome-users/2014-June/004528.html