Test for `setBasicAuth` method tuning for this driver

Implementation of functionality discussed in https://github.com/Behat/Mink/issues/401.