fix bug with undetected incorrect password that can damage wallet