Added reauthentication attempt to calls failed due to HTTP 401.