Non-reductive automorphism groups, the Loewy filtration and K-stability