Fixed bypass with HEAD method in redirect_via_refresh mode