Also send CSRF token for requests triggered from links

Ensure that the CSRF token is sent for forms submitted from links as well as actual forms.