Correcting password length validation