Added support for configurable behavior when searching the app user and it's not found.
Added more logic to support the possibility that a user might already exist in the webapp user store, but not yet in the identity store. If this happens, it just creates the identity, linking it to the existing webapp user. Added a new method to the UserStore class for this purpose.