Only authenticate if the command line option requires it