SB-79: Implement an XML user store

Committing work in progress.