Whether those benefits are worth a decreased salary depends on the individual.
If you're young and job hopping I wouldn't look at a gov't job just yet. 35 with a family of 4? I would seriously consider it.
Within 10 years you'll get a capped GS-14 spot (105k-136k) and by 15 years, you'll have 5 weeks vacation, 13 holidays, alternative work schedule, 13 days of forever accruing sick time (think family medical leave for having kids). Oh, and you can't be fired unless you do something really stupid -- so clock in and out 9-5.
Oh and you get COLA increases even if you don't get step or grade raises.
I only lasted a year, but I have friends that are still there. The fact that you can't get fired also applies to the colleagues you'll be working with...
I can't speak to market rates but the Federal government does indeed have alternate pay schedules that they can use (in theory) for IT expertise. E.g. scientists and researches have their own specific pay grades for their work, "hourly" workers have FWS pay instead of GS, etc.
You're right that the government workers are generally underpaid in my experience though. I struggle with the same thing here in DC, except that I'm trying to fill GS-5 positions to do work which involves knowing lots of policies, manual interpretation of individualized orders, and having to do all of that in a "customer service" environment.
If the government was able to fund it's IT operations at market rates, or pay outside the GS we'd all be much better off. I don't know about the federal level but my state relies on outside contractors to make web applcations, who mostly do a half-assed job and disappear when maintenance becomes a problem.