Optimize authorization query.
Merge pull request #54 from brocaar/worker_pool_lb

Optimize authorization query.