Finish setUserId before returning to the client, so subscription recreation cannot race the client identity change. Add a deferred-promise regression and verify switch failures propagate. Thanks to gleneindre and xet7 ! Fixes #6691,