data/sessions: add db.SelectSessionByKey, helper methods
api/v0/sessions_test: add TestDeleteSession