user_mgr: move constructor codes to separate func

Rafactorred the code so that the AccountPolicy part is moved into a
separate function out of the constructor. This is alligned with
existing code: |initUserObject|.

Tested: code moving only.

Before this serial of code, coverage is
  lines......: 61.7% (1217 of 1973 lines)
  functions..: 77.9% (173 of 222 functions)
  branches...: 32.2% (1852 of 5746 branches)

Signed-off-by: Nan Zhou <nanzhoumails@gmail.com>
Change-Id: I83fdc79a12c64039217605ed65def2f2352d7ef6
2 files changed