Yep, one would think that for a government that cares so much about their image they would avoid visitors having to go through this nonsense.
For budget travellers to Beijing -- 如家 accepts foreigners last I checked. 7天 used to but they don't anymore as of a couple years ago.