Fix redirect to use a full url.