password policies not functioning properly