Fixes 403 errors for non-GET requests