Fixed 'cannot read property user of undefined'

Error appeared when trying to instantiate a new `XAPIWrapper` without passing in configuration options.