Remove last of auth/tls and take pipeline as arg