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

fixes #3172