use new setBasicAuthUser/Pass API functionality