Pass config to local mode

This will allow things like serialization tokens to be used when running in local mode.