client entity fix

Summary: Fatal error occurrs when creating a client without explicitly providing permissions.

Test Plan: manual

Reviewers: m.balcytis

Reviewed By: m.balcytis

Differential Revision: http://phabricator.dev.evp.lt/D3575