If you can't afford the real class, then you can't afford it. I would be upfront about the cost issue in interviews and make clear that you are more than willing to take the class, if they insist that you have the certification (they should), but that you can't afford it. Some employers will cover the cost (they should if they're requiring it) or they may be willing to front you the money and deduct it from your first paycheck.