Fix a test-case that actually just repeated the previous one instead
Use protocol-relative URIs if cgiurl and url differ only by authority (hostname)