Landlords who have made money operating unlicenced HMOs for years requested a loan from the council to help cover licensing costs.