Visiting /me when not logged in redirects to / rather than prompting to log in

When clicking upload (visiting `/me`) while unauthenticated you get redirected back to the home page instead of getting a log in prompt.