Creating a cached map service in ArcGIS for Server when federated with Portal for ArcGIS and connected in ArcMap using Portal for ArcGIS credentials, stops after one hour and fifty-nine minutes and produces "Token may not be valid" errors in the server logs.