Fix request #5826 - Cannot login with Chrome or IE when domain name is an IP address

Change-Id: I4b3b029e7666368774d8932c3a9c181c6f40cc09
Merge commit 'refs/changes/38/1638/2' of http://gerrit.tuleap.net/tuleap into HEAD

* http://gerrit.tuleap.net/tuleap:
  Fix request #5826 - Cannot login with Chrome or IE when domain name is an IP address

Change-Id: I6b17cf20dc54f1b5480e80b2cbcba50f318c4ab7
This is Tuleap 6.8.99.29

Change-Id: Ice7d75cf2fd5c47d50bdb4bc856a0bd3566b9191