Set password and key after full restore