Make the auto-connect email check case-insensitive.

Since emails are case-insensitive in the database they should be case-insensitive as far as auto-connect is concerned.
Merge pull request #2329 from vanilla/hotfix/case-insensitive-autoconnect

Make the auto-connect email check case-insensitive.