Ensure the userid is set after completing any sort of address verification.

@jrgm and @6a68 - can you two review this?

fixes #3172 on stage.