Reverting revision 1345849 because it is not thread-safe and it doesn't work. It appears this was an attempt to create per-tenant FOP factories, but instead each tenant overwrites the previous FOP factory settings. A proper implementation would require a FOP factory cache keyed by delegator name.