Fixed initialization of data layer

Was calling container directly which does not work in a web context when
using InstancePerHttpRequest