XWIKI-9782: New Crypto Service API

- Minor refactoring.
- Allow usage of String for passwords