Bugfix: OAuth: Prevent logout when refreshing token

Prevent the user being logged out when the network disappears during OAuth token refresh.

https://github.com/owncloud/client/issues/11980
https://github.com/owncloud/client/pull/11984
https://github.com/owncloud/client/pull/12005
