FYI,
I just figured out that the ground wire on the transformer is extremely important. It grounds one leg of the secondary (the one that connects to the white wire). Without it the flame sensor will work erratically or not at all. If you use a generic transformer without the ground wire ground...