Fix a problem with the multi-domain login and make it easier to understand.

git-svn-id: http://fusionpbx.googlecode.com/svn/trunk/fusionpbx@3769 e2954ef0-caed-11de-bd98-e341d93cc3cc
Set http_host to HTTP_HOST.

git-svn-id: http://fusionpbx.googlecode.com/svn/trunk/fusionpbx@3770 e2954ef0-caed-11de-bd98-e341d93cc3cc