Only link sites in dashboard widgets, if login_url is present.

Fixes #651