pdb: add a blackbox test for setting password with hash