After turning on basic auth, the APIgateway no longer sends traffic to leader properly and fails. I get the basic auth prompt and log in successfully but then all calls to `/master/state` return a 500 error cc @matthewdfuller @ddragosd