There is no problem getting accommodation for WSBK weekend. The Spanish aren't interested and attendance is low. MotoGP weekend is somewhat different.
Stay in Jerez itself. Plenty of hotels have secure parking and it's a good place for a night on the sherry.
It's only a short ride to the circuit in the morning and tickets include open grandstand seating.