Merge "mediawiki.user: Simplify getRegistration() code branches"