Added grant to getClient calls. Fixes #21