Headpin test cleanup

This blocks a few more tests and changes the distributor tests to work with headpin. It also blocks the navigation test to the system-by-environment page.