Added urlencode() of object's DN in redirect URL