Fix history and members pages to work during payday

Fixes #148.
Yay for tests! :dancer: