Superagent with pipe redirection and authorization mapping