fixed issue 1679:auth.navbar() duplicates first link if mode is 'default', thanks wkl