Fixed isPasswordSecure.