[SECURITY] Fix waiver management of check_for_nonssl_ports test