[Misc] Probably caused by the recent move of some crypto code to commons
XWIKI-10372: Refactor the Resource API
* Fix regression introduced in previous commit