Added first version of OAuth mock testing.
Moved user creation logic into model where it belongs.