Use ip addresses for localhost in beaker tests

Previously ubuntu would not let you log in if it had config directives
that cited a host 'localhost.' By using ip addresses we have solved
that problem.

Change-Id: I13c71e2c3a58a1002e22c4b793d278eee3fddb1c
Merge "Use ip addresses for localhost in beaker tests"