Ask for machines after resolving the leader

And flush the leader and machines URI caches when the leader changes -- but don't flush the machines cache on a leader failure.