Much better! Please do make sure the unit test i added is passing.
I think the creator column should be the user_id of daemon user.
@djazayeri can you vote on if provider.identifier should be set to user.username or user.system_id instead of using a substring of the person record's uuid