People are already raising a stink they're spending too much money for subpar work, and nothing has changed. Having the code has exactly 0 effect on either of those two issues. Even if a concerned citizen FIXED the code, the odds of the politicians refusing to accept the fixes "for the security of their infrastructure" is upwards of 5-9s. Why on earth would they take those fixes when they're beholden to the people they're already overpaying for the work who likely donate large sums of money to their political campaigns?
These politicians probably know nothing about the software they are receiving. 300k for a static site? Good deal! By making the sites open source, it allows groups that wouldn't be reviewing the code / bids to do so and then validate the work.
For a US example, the TSA has that iPad application which is essentially a pRNG. Or is it? There is speculation that it might be much more than that, but no one can know without seeing the source code. If we could see the source code, we would know for sure and could verify if this project was really worth hundreds of thousands of tax-payer dollars.