[iOS] Fix login when there is no network

This should address any bug that results in the login controller calling the completion block before the prsent controllers callback triggers.

Addresses Issue #500