DNS Manager only shows first 7 chars of long usernames

isLoggedIn check would fail if the user has a username longer than 7
characters. The interface shortens the welcome message to:
  "Welcome: usernam..."

This change makes the isLoggedIn test based on the first 7 characters of
the username and the regex matched string.