var BlueprintClient = require('xively-blueprint-client-js');

var client = new BlueprintClient({
  authorization: process.env.BLUEPRINT_AUTHORIZATION
});

console.log('Client initialized with authorization >', process.env.BLUEPRINT_AUTHORIZATION);

module.exports = client;

var BlueprintClient = require('xively-blueprint-client-js');

var client = new BlueprintClient({
  authorization: 'Basic ' + process.env.BLUEPRINT_AUTHORIZATION
});

module.exports = client;

Remove log and Prefix Authorization token with 'Basic '
Remove log and Prefix Authorization token with 'Basic '

Update your env vars
