HTTP_REFERER should be set on redirects too