Strange password policy behaviour