redirect-test: add a test for accidental connection sharing