Fix the driver instantiation before license check issue (#15102)

Now checks the license before any driver is instantiated in case
the TestBenchTestCase is extended (the normal case). In other cases
the browser will still be instantiated before we have a chance to
check the license.

Change-Id: Ie4da350f74ed61165992b70415e2f01b0b6d80e2