url managers distribution bug fix

1. Init delivery profile dynamic attributes before getting the url
2. Use the returned url