test_proxyquery: fix test breakage from a rebase
proxyquery: fix the sequence of path_info change

The refactoring of post_job and some rebases put a req.path_info value
change out of order, and some tests were breaking. All tests pass now.