Set basic auth.