Fixed redirect issues which should now resolve reverse proxy web_root issues as well.