Clean up user account management fixtures and test mocking.

 - renamed some tables and flattened fixtures
 - created a test mixing that can login with a real user, loaded via
   fixtures
 - broke out doc unit tests into a separate file to try and avoid
   out-of-memory errors, although this is still not 100% successful