Fixes handling http redirect and handling it in provisioning service when we need to fill parameters.