longshorej: Here's a manual test showing that we no longer show the prompt when providing a token:

```
$ conduct load-license <<< 1235
Error: Your credentials are no longer valid. Please visit https://www.lightbend.com/account/access-token to renew them.
-> 1
```
diff --git a/conductr_cli/license_auth.py b/conductr_cli/license_auth.py
index b1d2128..1ab3c67 100644
--- a/conductr_cli/license_auth.py
+++ b/conductr_cli/license_auth.py
@@ -1,5 +1,6 @@
 from conductr_cli.constants import DEFAULT_AUTH_TOKEN_FILE
 import os
+import sys
 try:
     import readline
 except ImportError:
@@ -7,7 +8,7 @@ except ImportError:
 
 
 AUTH_TOKEN_PROMPT = '\nAn access token is required. Please visit https://www.lightbend.com/account/access-token to \n' \
-                    'obtain one, and a free license or your commercial one.\n' \
+                    'obtain one for free and commercial licenses.\n' \
                     '\n' \
                     'Please enter your access token: '
 
@@ -34,7 +35,10 @@ def prompt_for_auth_token():
     readline.clear_history()
 
     try:
-        return input(AUTH_TOKEN_PROMPT).strip()
+        if sys.stdin.isatty():
+            return input(AUTH_TOKEN_PROMPT).strip()
+        else:
+            return input().strip()
     except EOFError:
         return ''
 

load-license message not needed?
Encountered this while upgrading conductr cluster from alpha1 to alpha3:
```
conduct load-license -f <<< '...'

An access token is required. Please visit https://www.lightbend.com/account/access-token to
obtain one, and a free license or your commercial one.

Please enter your access token: Loading license into ConductR at 172.31.60.175

Licensed To: 1d1400b6-3e12-45fe-b0cc-15790b5a9b73
Expires In: 364 days (Fri 04 May 2018 01:21AM)
Grants: akka-sbr, cinnamon, conductr

License successfully loaded
```

The initial message is confusing. 
1) I'm loading a new access token so the message is out of place to begin with. 
2) What does " and a free license or your commercial one" mean? Perhaps just omit that?

diff --git a/conductr_cli/test/test_license_auth.py b/conductr_cli/test/test_license_auth.py
index 727cf24..0c7b5b1 100644
--- a/conductr_cli/test/test_license_auth.py
+++ b/conductr_cli/test/test_license_auth.py
@@ -39,11 +39,25 @@ class TestPromptForAuthToken(TestCase):
         mock_input = MagicMock(return_value=auth_token)
 
         with patch('builtins.print', mock_print), \
-                patch('builtins.input', mock_input):
+                patch('builtins.input', mock_input), \
+                patch('sys.stdin.isatty', lambda: True):
             self.assertEqual(auth_token, license_auth.prompt_for_auth_token())
 
         mock_input.assert_called_once_with(license_auth.AUTH_TOKEN_PROMPT)
 
+    def test_no_tty_dont_prompt_for_auth_token(self):
+        auth_token = 'test auth token'
+
+        mock_print = MagicMock()
+        mock_input = MagicMock(return_value=auth_token)
+
+        with patch('builtins.print', mock_print), \
+                patch('builtins.input', mock_input), \
+                patch('sys.stdin.isatty', lambda: False):
+            self.assertEqual(auth_token, license_auth.prompt_for_auth_token())
+
+        mock_input.assert_called_once_with()
+
 
 class TestRemoveCachedAuthToken(TestCase):
     def test_cached_token_exists(self):

pip install -e .
parse_log_pytest
pytest
tox pytest
3.5
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
argcomplete==3.1.2
arrow==1.2.3
attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work
certifi==2021.5.30
charset-normalizer==2.0.12
colorama==0.4.5
-e git+https://github.com/typesafehub/conductr-cli.git@7239e444785144797043e16a9d045e7aa0902783#egg=conductr_cli
distlib==0.3.9
filelock==3.4.1
idna==3.10
importlib-metadata==4.8.3
importlib-resources==5.4.0
iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
jsonschema==2.6.0
more-itertools @ file:///tmp/build/80754af9/more-itertools_1637733554872/work
packaging @ file:///tmp/build/80754af9/packaging_1637314298585/work
pager==3.3
platformdirs==2.4.0
pluggy @ file:///tmp/build/80754af9/pluggy_1615976315926/work
prettytable==0.7.2
psutil==5.9.8
py @ file:///opt/conda/conda-bld/py_1644396412707/work
Pygments==2.14.0
pyhocon==0.3.35
PyJWT==1.4.2
pyparsing @ file:///tmp/build/80754af9/pyparsing_1635766073266/work
pyreadline==2.1
pytest==6.2.4
python-dateutil==2.9.0.post0
requests==2.27.1
requests-toolbelt==1.0.0
six==1.17.0
sseclient==0.0.14
toml @ file:///tmp/build/80754af9/toml_1616166611790/work
tox==3.28.0
typing_extensions @ file:///opt/conda/conda-bld/typing_extensions_1647553014482/work
urllib3==1.26.20
virtualenv==20.17.1
www-authenticate==0.9.2
zipp @ file:///tmp/build/80754af9/zipp_1633618647012/work

name: conductr-cli
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - attrs=21.4.0=pyhd3eb1b0_0
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2021.5.30=py36h06a4308_0
  - importlib_metadata=4.8.1=hd3eb1b0_0
  - iniconfig=1.1.1=pyhd3eb1b0_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.3=he6710b0_2
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - more-itertools=8.12.0=pyhd3eb1b0_0
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - packaging=21.3=pyhd3eb1b0_0
  - pip=21.2.2=py36h06a4308_0
  - pluggy=0.13.1=py36h06a4308_0
  - py=1.11.0=pyhd3eb1b0_0
  - pyparsing=3.0.4=pyhd3eb1b0_0
  - pytest=6.2.4=py36h06a4308_2
  - python=3.6.13=h12debd9_1
  - readline=8.2=h5eee18b_0
  - setuptools=58.0.4=py36h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - toml=0.10.2=pyhd3eb1b0_0
  - typing_extensions=4.1.1=pyh06a4308_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - zipp=3.6.0=pyhd3eb1b0_0
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - argcomplete==3.1.2
      - arrow==1.2.3
      - charset-normalizer==2.0.12
      - colorama==0.4.5
      - distlib==0.3.9
      - filelock==3.4.1
      - idna==3.10
      - importlib-metadata==4.8.3
      - importlib-resources==5.4.0
      - jsonschema==2.6.0
      - pager==3.3
      - platformdirs==2.4.0
      - prettytable==0.7.2
      - psutil==5.9.8
      - pygments==2.14.0
      - pyhocon==0.3.35
      - pyjwt==1.4.2
      - pyreadline==2.1
      - python-dateutil==2.9.0.post0
      - requests==2.27.1
      - requests-toolbelt==1.0.0
      - six==1.17.0
      - sseclient==0.0.14
      - tox==3.28.0
      - urllib3==1.26.20
      - virtualenv==20.17.1
      - www-authenticate==0.9.2
prefix: /opt/conda/envs/conductr-cli

conductr_cli/test/test_license_auth.py::TestPromptForAuthToken::test_no_tty_dont_prompt_for_auth_token
conductr_cli/test/test_license_auth.py::TestGetCachedAuthToken::test_cached_token_exists conductr_cli/test/test_license_auth.py::TestGetCachedAuthToken::test_cached_token_missing conductr_cli/test/test_license_auth.py::TestPromptForAuthToken::test_prompt_for_auth_token conductr_cli/test/test_license_auth.py::TestRemoveCachedAuthToken::test_cached_token_exists conductr_cli/test/test_license_auth.py::TestRemoveCachedAuthToken::test_cached_token_missing conductr_cli/test/test_license_auth.py::TestSaveAuthToken::test_save_auth_token
conductr_cli/license_auth.py
conductr_cli/license_auth.py