Fix creating wallet with mismatched password