ESDEV-2136 Improve password encryption: made sha512 encrypt