fix test of password

this pr will fix #27