PTS-19 refactored password hashing function
Resolved merge conflict in irms_helper