Add internal methods for setting identity clients

There is a lot of identity clients settings, and the setting order is
mess now. That is not readable. This patch adds internal methods to
set identity clients for cleanup.

Change-Id: I2956e61898583bd335d377604f2435699e9d30f6
Merge "Add internal methods for setting identity clients"