Renamed 'authenticationHeader' and 'encodedCredentials' into just 'credentials' for consistency. Refactored setAuthenticationInformation to return created credentials.