Admin/Installer login issues

In my local dev install, the admin login screen showed this error:
```
Notice: Undefined index: port in /Library/WebServer/Documents/zc-v1-series/admin/includes/defined_paths.php on line 14

Call Stack:
    0.0005     254024   1. {main}() /Library/WebServer/Documents/zc-v1-series/admin/index.php:0
    0.0011     295304   2. require('/Library/WebServer/Documents/zc-v1-series/admin/login.php') /Library/WebServer/Documents/zc-v1-series/admin/index.php:47
    0.0016     321280   3. require('/Library/WebServer/Documents/zc-v1-series/admin/includes/application_top.php') /Library/WebServer/Documents/zc-v1-series/admin/login.php:19
    0.0023     351000   4. require('/Library/WebServer/Documents/zc-v1-series/admin/includes/defined_paths.php') /Library/WebServer/Documents/zc-v1-series/admin/includes/application_top.php:94
```
Also, I was not able to log into the installer db update section after updating my password.