add fix for angular csrf errors