Fix an issue with malformed HTTP headers in token_and_options.