Fixes #5297: Improve error message in cases of suspected cross-domain login