The government has vowed to take action on rogue landlords who exploit vulnerable residents in exempt accommodation.