given() .auth().basic("username", "password") .when() .get("/secure-endpoint"); ?
given() .auth().oauth2("token") .when() .get("/secure-endpoint");?