closes #2276
* test: Add email auth tests to establish current state of system * fix: Update logic to account for dupe emails used between subdomains * test * test