Refactoring of the code.

Reduced the number of nested blocks
in the add_to_user_identities_user_of_subject () function.
1 job for u_of_subject_to_u_identities in 1 minute and 42 seconds (queued for 1 second)
Status Name Job ID Coverage
  Test
passed build_stable #6347590

00:01:42