[js_auth_client_browser_test] tests improved to run correctly using "grunt test" command

There was a bug: browser tests did not run with 'grunt'. Problem is resolved.
It will reduce time to find the way to log events during tests development in future.