Tests origin whitelisting with IP addresses.