throw a proper RemoteStorageErrorResponse response on OAuth related errors