Updated the proxy factory to make sure it uses the right ResteasyProxyFactory instance.