fix(upgrade): test for ability to connect to localhost if rewrite test fails

Tested on community-test

Method:
lock out all but my IP address, run upgrade -> get localhost connection test error message
add exception for localhost IP address -> upgrade runs ok
remove rewrite rules and run upgrade -> get htaccess rewrite rule error message

* [ ] Move `Refs #...` out of the subject onto its own line