Fix dump/restore case when user has no password.