XWIKI-8826: In open wikis, crawlers can actually delete documents
Fixed.
(cherry picked from commit b015739851baaaa996a40c9042913eb36ed3177b)