Redesign security assignments due to changes in OrientDB. Issue #55