Update the CLI encodepassword command to also include the algorithm prefix. Closes gh-11875
encodepassword