[Reviewer: Andy] Change localhost to 127.0.0.1

Fixes https://github.com/Metaswitch/sprout/issues/288