Finding affordable housing has become an increasingly serious problem for those relocating to cities for the first time. And corruption scandals and the related risks of political turmoil were unsettling, to say the least, in the months prior to last year’s Communist Party leadership transition.