Fix PO provisioning for COPE

Fixed a bug that caused a security exception
when calling DPM#createAndProvisionManagedProfile
for org owned devices.

Test: manually tested that calling the API as
an org owned device succeeds.
Bug: 176973247
Bug: 179266626

Change-Id: I23e5c3c82fa8b84731819c2242777581b869b909
1 file changed