Issue #2501499 by David_Rothstein: If an existing user is invited and is not logged in when clicking the link to accept the invite, the invitation is never accepted