Fixed generation of base url at install time when port is not 80.