When dynamically generating a URL via URL Integration, when accessed, it will always bring you to the login page despite credentials being given during the URL creation.

This occurs due to how the credentials were provided during the URL creation.

When creating the URL, the following line is used when providing credentials. 

encryptedURL.Parameters.UserCredentials = new UserCredentials([Password], [Username]); 

Please make sure that we're passing the credentials with the password being first, then the username, instead of the other way around. 
Ensuring this should fix the issue.

KBA applicable for both Cloud and On-premise Organizations