I've seen this issue a lot with people using Spark v6 in the slack channel. I'm still on v5 and haven't had anything like this happen. If you have access to the Spark v6 repo on github.com/laravel/spark-aurelius , you might check the issues in there. I don't have access to that repo, but have access to the v1-5 repo and there are no reports of it in there.
One thing you can try is to actually set up a domain on your box for the app, like "myapp.test" in apache/nginx so you don't have to use urls like http://localhost/project_name/public. You could just set the app_url to myapp.test, which points to the public dir like a real host. It looks like it might fix it.