fix password digest