Add a spec for Entry.
Fix User factory.
Add a spec for SessionsController.