[CR] Do not refer to HeliosExternalUser directly.

Refer to `$wgExternalAuthType` instead as it provides more flexibility
and will make refactoring much easier. The global variable is either
`null` or `HeliosExternalUser`.