Close unused db sessions in the LDAP plugin
Merge branch 'develop' of https://github.com/J4LP/newauth into develop