Set AuthType to 0 if username is not specified.

If username is not specified, set authType to No PAP / No CHAP
so that the code is backward compatible.
1 file changed