write hash function for HostAccount

[CHANGED] comparison and hashing now based on the has of the host, user and port
    The two are also now consistent. This will improve the host.EngineCache
    performance consistency since, in some instances (but not all), different
    objects had different hashes.