I agree working for free would be foolish. But, once you meet your prospective team just ask them how much equity you'll be able to get. If it doesn't meet your standards I think you could just say no thanks. Seems like a reasonable way to join an interesting startup (if there are any interesting ones in their summer class). If you have actual skills they need, you do have a good bargaining position.