Get CSRF Token before login as well. Proves more reliable after the first attempt.
Additional error handling.
Merge pull request #33 from dmsmidt/master

Additional error handling / feedback + CSRF token get before login