protected static String getBasicAdminAuthentication() {
        String authString = getAdminUserName() + ":" + getAdminPassword();
        byte[] authEncBytes = Base64.encodeBase64(authString.getBytes());
        String authStringEnc = new String(authEncBytes);

        return "Basic " + authStringEnc;
    }
Creates the basic authentication string for admin:admin

@return
ambari-funtest/src/test/java/org/apache/ambari/funtest/server/tests/ServerTestBase.java