I recommend you to file a consultation at the relevant immigration office, as you have the right to apply for the residence card as the relative of an EU citizen once your wife moves to Spain.

This will allow you stay in Spain while the appeal is in process. The Immigration officer will certainly request a valid ID in order to process your application and I understand this will be the asylum seeker card, though I advise you to check this matter with the authorities.