[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.