Revert "Prevented ?do=addlink from generating a 404 when not logged in"

This reverts commit 566ca3f0ead17b6446fbd51e2e14a260bea8bcc8.