Implement authorization check for api::media_entry get and download
Raise timeout for permissions check