Sweden also cooperated with western intelligence agencies and etc during the cold war.
I think portraying them a sort of freeloader is inaccurate / an over-simplification / unfair. They worked closely with NATO, and NATO countries worked with them.
Ironically Swedish defense spending as a percentage of GDP is actually higher than some current NATO members. In many ways they are now more combat effective than Germany.