Bugfix: password enforced check for public links

We've fixed a bug where we ignored the selected role in the password enforcement check. The web ui was sending the request to update a link instead of showing a modal with a password input prompt.

https://github.com/owncloud/web/issues/8587
https://github.com/owncloud/web/pull/8623
https://github.com/owncloud/web/pull/8745
