Fix autotests
5199ed07 broke the autotests, as a empty hostname triggers to use the client hostname to send. So We need to explictly set the hostname to 127.0.0.1 for tests.
CCMAIL: fabian@ritter-vogt.de