title: React Axios Defaut Header Return an Object after Redirect using browserHistory
body: <p>When I set <code>axios.defaults.headers.common['Authorization'] = localStorage.getItem('token');</code> and check every request I made at the header it always set <code>authorization:[object Object]</code>. </p>
  
  <p>I've check my token is not an object (I've tried console.log).</p>
  
  <p>But if I set it manually it works properly</p>
  
  <pre><code>    axios.get('ping', {
          headers: {'Authorization': localStorage.getItem('token')}
      })
          .then((response) =&gt; {
              if (response.data.code == 440) {
                  return this.props.refreshToken();
              }
          });
  </code></pre>
  
  <p>Any solution?</p>
  
  <hr>
  
  <p>Found the culprit:</p>
  
  <p>When I login, I using <code>browserHistory.push</code> when login successful to navigate to dashboard.<br>
  After I change to use <code>window.location.assign('/')</code> now my header retrieve authorization properly.</p>
  
  <p>Any solution if I want to keep using react router?</p>
  
  <p>Thanks</p>