Response correct header when issue token flow failed. Update test.