Work-Artist relationship: Credit group vs band members as writer/composer/lyricist

Additionally to the problem where they expand band to members for their own specific purpose, royalty databases will also replace actual writers by PD/DP public domain once the work royalties expire.
They would also credit real names instead of pen-names sometimes.