Issue #1294180 by aaronbauman: Incorrectly displaying link to login to create comments when comments are disabled.