Test that port is preserved upon relative redirect