DESCRIPTION

Make test suite compatible with RBAC.

Motivation
----------
The test suite got modified to work with 5.0 but
then it didn't work with older releases. The
test suite needs to run transparently against
all supported releases properly.

Modifications
-------------
A helper method has been introduced which, before
bootstrapping, loads the config and grabs the
cluster node version.

If its >= 5, then the username and password are
set to admin credentials which are guaranteed
to work in the RBAC scenario. Otherwise, they
stay the same as before (bucket level).

Result
------
The test suite now runs against pre-5.0 and post
5.0 releases.

Change-Id: Idd98458f9f673c971f8670ff3b8e48bb3e0af115


COMMENTS

author: Natasha Sullivan
date: 2017-05-31 09:22:02.537000000

Uploaded patch set 1.

-------------------------------------
author: Natasha Sullivan
date: 2017-05-31 09:22:51.197000000

Patch Set 1: Verified+1

-------------------------------------
author: Natasha Sullivan
date: 2017-05-31 09:22:59.487000000

Patch Set 1:

tested with 5.0 beta and 4.6.2

-------------------------------------
