Switch back over to database sessions

Major work-around, but it looks like it works now and won't throw an
exception during uninstall. Fixes #60