Price comparison websites and energy brokers will be regulated in a bid to end their alleged “license to scam”, the energy consumers minister has said.