fix the oauth2 case bug

  1. get_response will handle 302 redirect automatically
  2. response has no header_str method