issue #20785: clear out password check field appropriately
Merge pull request #580 from shackbarth/20785

issue #20785: clear out password check field appropriately