add basic auth passwd.