The Nextcloud application requires access to the Authorization header for device enrollment. Without forwarding the Authorization header to php-fpm from Apache, all device enrollment will fail with the auth flow v2.