fix deployment error if no ldap
fix deployment error if no ldap

cytomine/Cytomine-core,cytomine/Cytomine-core,cytomine/Cytomine-core,cytomine/Cytomine-core,cytomine/Cytomine-core,cytomine/Cytomine-core