Make token exchange return errors with 400 as status code