Fixed bug in ResourceIdentity - relative uris