retry on failed authentication

also add the option to abort,
not everybody knows about ^C
Merge branch 're_authenticate'

see pull request #78