Refresh rest helper before getting the client in order to have the latest preferences.