XWIKI-9782: New Crypto Service API

Typo
XWIKI-9782: New Crypto Service API

- Properly reset digest as documented in comments
XWIKI-9909: Concurrent database migration cause SOLR indexer to fail in place of waiting