Migrate identity API tests to resource_* fixtures

Partially-implements bp:resource-cleanup

Change-Id: I44e2661e5dfbb9a8267b912c704272861ebec17a
Merge "Migrate identity API tests to resource_* fixtures"