[FLINK-1046] Made sure that Client uses correct user-code class loaders.