XWIKI-5261: Password hashes dumpable.
- Added minor code style improvements and extra coments.

(cherry picked from commit 1171b2e245e99b5ae3623523aa2054f2d432beac)