wininet: Properly set security flags for ERROR_INTERNET_SEC_CERT_DATE_INVALID.