React to identity changes

This used to live in IdentityConfig.cs in the old apps, we don't have a place for this yet, so I just carved out a similar top level file for now