ideally support basic auth would also be great.