Set default host and port for Web Admin login, either from the request URL or a cookie (if available).
Authored by: bbranan 2009-04-01
Parent: [r7950]
Child: [r7952]