Invariant gauge fields in Bianchi cosmologies