[authentication] add basic authentication