Implement user and apikey lookup in a Datomic DB

Signed-off-by: Geoff Lane <geoff@zorched.net>