A woman has gone on trial accused of abusing two children and causing the death of a five-year-old girl after a bath scalding decades ago.