[Fix Bug 881852] add multi-account field to user profile

This needs tests still, but it should have all the basic functionality covered.