Retrofit retrofit = new Retrofit.Builder()
.client(client)
.baseUrl(config.getApiHostURL())
.addConverterFactory(GsonConverterFactory.create())
.build();
<BUG>LoginService loginService = retrofit.create(LoginService.class);
retrofit2.Response<AuthResponse> refreshTokenResponse;
refreshTokenResponse = loginService.refreshAccessToken("refresh_token",
config.getOAuthClientId(), currentAuth.refresh_token).execute();

if (!refreshTokenResponse.isSuccessful()) {
throw new HttpResponseStatusException(refreshTokenResponse);
}
AuthResponse refreshTokenData = refreshTokenResponse.body();</BUG>
loginPrefs.storeRefreshTokenResponse(refreshTokenData);

Retrofit retrofit = new Retrofit.Builder()
.client(client)
.baseUrl(config.getApiHostURL())
.addConverterFactory(GsonConverterFactory.create())
.build();
LoginService loginService = retrofit.create(LoginService.class);
AuthResponse refreshTokenData = executeStrict(loginService.refreshAccessToken(
"refresh_token", config.getOAuthClientId(), currentAuth.refresh_token));
loginPrefs.storeRefreshTokenResponse(refreshTokenData);
