Fixes for dl

- Fix a problem where ``require_oauth`` always granted authorization
- Raise exceptions instead of returning responses. This works better with mimerender.