add GitHub auth
better logging / errors

use 400 if request is bad
fix error catching in cachedget

avoids turning 404/400 into 500
tweak error messages