Fix 404 on angular cookies