Bergman was definitely a Nazi in his youth but he repudiated it when he learned about the death camps. In his memoir he's very open about it (besides maybe exaggerating how young he was) but he mostly blamed his parents and the right-wing milieu he grew up in. I don't know that he really examined what led him to default to Nazism in the first place or used the experience to self-crit. It's been decades since I read his memoir and I don't have it nearby so I may be a bit off but that was the impression I got. In the '70s he was a tax exile but that's all I remember about his later politics.
Godard also had right-wing leanings when he was a teenager but he actually did grow out of them and was constantly interrogating his own politics. Not that his views became immediately pristine or anything - there's plenty to criticize Godard for even when he fully committed to the Left - but the difference seems to me to be that Bergman stopped at "I was lied to" and Godard was more likely to question why he believed certain lies.
Edit - some more Bergman recollections. He was also very open about how shitty and distant of a father he was. (This from an interview that's an extra on the Cries and Whispers Criterion disc.) He tended to be very matter-of-fact about many of his failings, and a recognition that they were indeed failings, but was too much of a fatalist to even begin the work of changing. And if I'm remembering his memoir accurately, even the Nazi confessions mostly had to do with (1) letting readers know that Sweden wasn't as neutral as it pretended to be and (2) an ingredient in what formed his attitude toward organized religion.