Fixing potential authentication and login deadlocks with await / async
Merge pull request #1 from KristofRennen/master

Fixing potential authentication and login deadlocks with await / async