Password restore test for slm.