Added authentication to command line tools