(PE-5640) Fix test

Fix test of redirect to non-proxied path, as it was passing
erroneously.