Added support for a `simple_login` test client method.

`simple_login` takes a user instance and logs you in as that user.

Ticket: 20916.

Todo:
* [ ] Add docs