title: Spring MVC - missing variable from URI named "path"
body: <p>I have created application from <a href="https://jhipster.github.io/" rel="nofollow">Jhipster's</a> template,
  I have changed almost nothing in the project and it's working fine on local machine but when I deploy it to my server (ubuntu, apache, tomcat - all are the last versions) weird things start to happen.</p>
  
  <p>I have AJAX call to "/api/account" which on local machine get's in response the following json</p>
  
  <pre><code>{
      "timestamp":1440703613150,
      "status":401,
      "error":"Unauthorized",
      "message":"Access Denied",
      "path":"/api/account"
  }
  </code></pre>
  
  <p>and on the production server (you can check it <a href="http://213.133.98.210/#/" rel="nofollow">here</a>) same call get's json WITHOUT "path" field in it  </p>
  
  <pre><code>{
      "timestamp":1440703613150,
      "status":401,
      "error":"Unauthorized",
      "message":"Access Denied"
  }
  </code></pre>
  
  <p>I stuck on this for long period of time, so, please help me if you can :)</p>