That is a practice which is fairly common I would say (the latter, I mean). In certain cases a band member having nothing to do with the writing of a song might receive credit as recompense for other reasons; it's sort of the same situation as someone else owning all or part of an artist's publishing. The industry in its various permutations has a core practice: external forces often dictate who ends up with the cash.