FHA will no longer allow you to use a lease to qualify. I am guessing this is one of the reasons! Demand your deposit back and if they give you a hard time, tell them you are going to the Department of Banking.
The right way: That is fraud and as a good citizen you should contact your state attorney general. It's this sort of thing that helped get us into the economic mess the country is now in.