Pass client_id to getDefaultScope().
Merge pull request #320 from F21/parameters-for-scopes

Client_id is now passed to getDefaultScope().