Refactor authentication middleware.
Add API endpoint to get individual reports.
Merge branch 'develop' of github.com:TID-Lab/aggie into 1159_fetching_status