Issue while implementing Password Policy