Better logging and urlencode when unlocking a link.