Use case-insensitive matching on email address

This patch addresses an issue where a client may have upper-case letters in their email address. When visiting the client portal to check the ticket status, previously, the exact same case would be required in the 'Email Address' box.

This patch remove the case sensitivity for email logins.

Fixes osTicket/osTicket-1.7#875