made http to avoid redirect loop in azure