[anaconda] make password scrubbing more robust

Signed-off-by: Bryn M. Reeves <bmr@redhat.com>