Switch to database-backed user sessions. Fixes #89