Bugfix: Add OCS v2 capabilities endpoint to public paths

Following the same behavior as OCS v1, we added the OCS v2 capabilities endpoint to the public paths.

https://github.com/owncloud/ocis/pull/11665
