BZ 896386: Fix for origin URL redirecting after removing SSL.