To change the CacheDirectory or any EOS_InitializeOptions or EOS_Platform_Options use one of the delegates defined in IEOSSDKManager.h.
https://dev.epicgames.com/community/learning/knowledge-base/Re1pX/epic-online-services-how-can-you-change-the-hardcoded-cachedirectory-path-in-onlinesubsystemeos