Modify GET /frs_files/:id so download_url point to a new route /file/download/:id
This new route should allow
- REST authentications (basic, token, accesskey)
- Web authentication (cookie)
It returns the raw content of the file.
This route replaces the original "download.php" one.
download.php emits a 301 redirect to this new route.