Bug fix: modifing configs via url doesnt work

After setting config via a URL, those config parameters from the url are removed and a server side HTTP redirect is made to that new url. Thus the URL that JavaScript reads to perform a mirror redirect is without any config parameters. To avoid this, the correct link is provided in the cookie and JavaScript will give precedence to that cookie over the actual url of the page when calculating the redirect url.
+ Amazon ocasionally gets request from 127.0.0.1 (loadbalancer)