[iOS] Fix login when there is no network

This should address any bug that results in the login controller
completing before the animation itself is done.
Merge pull request #510 from phvannor/dev

[iOS] Fix login when there is no network