add possibility to specify basic auth user/pass