title: swagger : basic authentication not working
body: <p>Here my swagger.yaml :</p>
  
  <pre><code>...
  paths:
   /api/geocode:
    get:
    ....
  responses:
      200:
        description: "OK"
        schema:
          $ref: "#/definitions/ResourcesOfGeocodingInformation"
      204:
        description: "Pas de résultat"
        schema:
          $ref: "#/definitions/ResourcesOfGeocodingInformation"
      401:
        description: "Unauthorized"
      403:
        description: "Forbidden"
      404:
        description: "Not Found"
      500:
        description: "Erreur technique"
      504:
        description: "Via Michelin ne répond pas "
    security:
    - basicAuth: []
    x-swagger-router-controller: "Geocode"
    securityDefinitions:
     basicAuth:
      type: "basic"
  definitions:
  ...
  </code></pre>
  
  <p>But when i try to request this WS without authentication this is working and give me a 200 status. 
  What's wrong?</p>