Add the LOGIN_URL and LOGIN_REDIRECT_URL settings to handle users
browsing to pages that require authentication while they are not
logged in. Previously anonymous users would get a 404 error; now
they are sent to the log in screen.