fixed endless progress indicator during initial authorisation if api request fails