Added a customized test client.
Added one more use of login_observer helper method.