userSelectedClaimedId,
true,
false); // Sign after we added extensions.
if (response instanceof DirectError)
responseText = response.keyValueFormEncoding();
else
{
// Sign the auth success message.
// This is required as AuthSuccess.buildSignedList has a `todo' tag now.
try {