support basic auth
0.3.4