title: Spring Security caching my authentication
body: <p>I've just added Spring Security in my Spring Boot project classpath. I did no Java Configuration or XML configuration.</p>
  
  <p>The problem is that when I send a request to my resource <strong>localhost:8080/users</strong>, my first request gets authenticated <strong>(via Basic Authentication)</strong> normally, but the subsequent requests do not need any authentication header. Even if I restart my server, the requests are still being authenticated without entering any credentials.</p>
  
  <p>I would like to turn this "cache" off.</p>
  
  <p>I tried with lots of clients. Postman, SOAP-UI, browsers..Already read <a href="https://stackoverflow.com/questions/39019029/spring-security-caching-basic-auth-not-verifying-subsequent-requests">this</a>, but didn't works</p>