Hi,
It is not working when complete domain is upulled from personalization block. I used this as personalization block (TEST)-
<%
loadLibrary("wp:base64.js");
var _email= recipient.email;
var _id = recipient.id;
var url = "id=" + _id + "&email=" + _email;
%>
<%=escapeUrl(Base64.encode(url))%>
And used this in email ink-

It worked. Also you have params attribute as a part of url and adding id and email as parameters which would make something like this-
https://preferencestest.test.com/Preferences/OptDown?params=id="some id"&email="some email"
This link will not work even if teh delivery is deployed. Thanks!