Add a test for authentication failure when the hostname
changes.