Fix failure when using cracklib

Change-Id: I53dfb3da4c194013bf7a3d996a13e1d73968bf66