Small fix for UserProfileManager and its tests.
Merge pull request #628 from kaysoky/PLFM-1750

Small fix for UserProfileManager and its tests.