When shutdowing a directory, the sessions map is set to null. This is not consistent with the other accesses to the map. We should just empty the map instead. The side effect is that the repository cannot be used.
Impacts : org.nuxeo.ecm.directory.sql.SQLDirectory.shutdown()