I have a slightly different take on it.
Mgmt gets locality pay because they need a decent compensation package to attract high-quality candidates.
Flight crew gets crap pay because management doesn't see the need for high-quality candidates. They've pretty much convinced themselves that a monkey can fly a modern airliner. The fact that pilots are *willing* to work for bananas just confirms their suspicions!