Fix #318 remove register link if registration is disabled