tests: Make ap_wps_er_http_proto more robust