Automorphisms of endomorphism rings of a class of almost completely decomposable groups