Fix EWS proxy redirection

Regression after haproxy removal