fixed auth bug in basicauthattribute