Bug 831049: Implement basic Persona login.
Bug 831049: Denormalize user profile data and then clear table.

Also adds the ever-useful factory-boy library for tests.