"Use Laravel authentication" breaks CORS support

https://github.com/librenms/librenms/pull/8702 breaks the existing CORS support. To be honest I am a bit lost now, since I dont consider this a new “Feature Request” and @murrant didn’t want me to open an issue.