Fixed issue #1: update_session_auth_hash causes an error after test client login()

Since the function django.test.Client.login() is not processed middlewares
then request.user(wich appears from the middleware AuthenticationMiddleware)
will not be defined.

Thanks for the reporting to @mauricioabreu.