Currently, when the user attempts to perform certain actions (e.g. database writes), the frontend will reject the attempt and automatically redirect to the GitHub login. However, after the login is complete, the user is dumped on the main index page instead of the page they were on before logging in. The "referrer" page should be remembered and the user should be brought back there.
This is a sub-task of #30: