Fixed issue #2691

Conflicts:
	core/src/main/java/com/orientechnologies/orient/core/metadata/security/OSecurityShared.java