The government may have failed to protect the interests of bill payers when awarding green energy contracts, say auditors.