The state has been outsourcing some technology work to firms of dubious integrity and workers with fake credentials.