Login with waiting indicator
Showing waiting indicator while we are waiting the API to respond and accept the attended action. API response is delayed,
simulating slow connection, network problems etc. If there is a problem, the form never gets active again and the waiting icon never disappears.
In this example the API actually returns success after more than 2 minutes.