When running the graph service standalone with token auth we don't have a user in the context. Avoid nil point exception when issueing events in such a setup.
When running the graph service standalone with token auth we don't have a user in the context. Avoid nil point exception when issueing events in such a setup.