Russian hostility might be a bonus: it pinpoints at a common foe, and would be a factor of unity.
The "disputed lands" were there in OTL too (and the German/Italian unifications did not solve the issue). Maybe this time around some compromise solution might be achieved on a cantonal basis.
Hungary is a problem, I agree. But again, the progress of liberalism might simplify the research of a solution
Russian intervention was desastrous OTL, since the Russians were clearly anti-revolutionary.
I think French intervention could be much better: French intervention would directly hit the Southern German states AND Prussia, not Prussia alone as Russian intervention would, thus the"common sense" of the new Empire would be deepened. and united Italy.
Maybe if the French start by occupying Rome to protect the Papal States and only then fight on the Rhine, that would part their troops.