Bugfix: Capabilities for password protected public links

Allow password protected public links to request capabilities.

https://github.com/owncloud/ocis/pull/3229
https://github.com/owncloud/web/pull/6471
https://github.com/owncloud/web/issues/5863
