Fix issue about comparing with authType NONE.