Correctly issue an error if there is a 302 but not to the expected location, and allow for other expected non 200 responses