http: Implement pass-through auth for clients

Client authentication is read from the HTTP environment made available to osTicket. If the user does not yet exist in the system, a search will be performed against any (other) auth backends which support searching (such as LDAP). If a hit is found and the username or email address matches the HTTP username, the user is automatically created with the information returned in the search.