dbSelectOne doesn't throw HTTPUnauthorizedException, what are you catching?