Now authentication repeats until success
Merge pull request #1 from slonopotamus/master

Now authentication repeats until success