Prevent unauthorized errors

This should be handled by the proxy view but somehow the download
of attachments for anonymous users did not work correctly.