Made login procedure async as well.
The async call in question is now triggered, once login call returns.