confirm password validity when encrypting wallet.