HDFS-4269. DatanodeManager#registerDatanode rejects all datanode registrations from localhost in single-node developer setup (Contributed by Chris Nauroth)