Fix up regexes and comments in GetAuthType