Fix sanitizer calls on links in profile

Ever since the recent security update for the url sanitizer, the a tags
in profiles have been empty.

Fix that by interpreting the url object properly.
fixes a not-logged-in issue