Optimizations in #33 breaks login redirect
After the commits in #33 (closed), if a user visits for instance the summary page of a plan without being logged in, instead of beuing redirected to the login page, a 500-error is generated. This is due to the shuffling of when and how several database lookups were done are incompatible with the LoginRequiredMixin.