basic authentication for api services client