[PLINK-571] - Identity bean should allow custom scope configuration.
Improving logging in case of errors.