Return user object from login method
Use WagtailTestCase class in admin page views tests
Made WagtailTestCase a mixin and renamed to WagtailTestUtils.