A new study finds that people stick around when they trust bosses will do the right thing.