Correct identity_registration test mock

To keep tests consistent, should follow the same mocking
as the other cookbooks.

Change-Id: I0b096715223e5fdb8e6338cceac848cc2bd58e6f
Fixes: Bug 1183950
Merge "Correct identity_registration test mock"