Indeed, it also takes a big swing at government that is captured by the insurance industry in order to maintain its profit structure in the face of new technology that renders it obsolescent.
Heinlein's first novel, For We the Living, has the basics of life, food, shelter and so on, provided as a matter of course by the government. Indeed it is more a treatise on the Social Credit movement than a fully fleshed out novel. Heinlein revisited the theme in his second novel Beyond This Horizon and early in the story it is revealed in almost a throw away line that the necessities of life, food, shelter, medical care and so on are provided as a matter of course by the government.
http://en.wikipedia.org/wiki/Social_credit
The government in Heinlein's juveniles isn't really mentioned a great deal but doesn't seem particularly right wing, Tunnel in the Sky, Have Spacesuit Will Travel and so on don't have that wingnut feel to them from what I recall.
It's my understanding that Virginia Heinlein, Robert's second wife, is the one who pushed him so far to the right, his early stories don't show as much of a right wing bent as his later works.
Niven isn't nearly the right winger that Pournelle is, the government structure in Mote was taken from Pournelle, not Niven because Pournelle didn't buy Niven's remarkably socialist State and his Long Peace that was ended by contact with the Kzinti. Niven's Amalgamated Regional Militia or ARM was in the technology suppression and rewriting history business because they were trying to create a peaceful utopia..
Of course Niven comes from old money and never depended on his writing for income while Pournelle is to an extent one of his own protagonists, at least in his own mind anyway.