Apply changes to how the user is persisted in session to depending controllers. This fixes #1.