This fixes the /patron page. I also added an end-to-end test to avoid breaking this page in the future.