MERN app working fine on first load but when i refresh it it break and shows 401 error, in both situation on running app locally or deployed on Render Steps to reproduce the error: