add http basic auth feature