Failing test for non-trusted proxies

Discussion in #11583
@fabpot, should this test fail?