KeyStore no longer has it's own connection

You'll simply have to pass a Database object with getConsumer().
Also we're now checking for the Authorization header now, if it
isn't there we aren't claiming a database and we just throw a 401.
Otherwise we claim a database which we'll free later on.

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>