espra/db: add some more types for logins/sessions/etc.