[misc] Applied code style.
XWIKI-5261: Password hashes dumpable.
- Using the ContextAuthorizationManager for PR checks.
XWIKI-5261: Password hashes dumpable.
- Kept previous getPasswordHash method signature and added a new one for the salting usecase.
- Added javadoc for the hash methods.