fix authorizations according to tha behavior described by the RFC
Merge branch 'authorizations-fix' of https://github.com/aurelienlt/swagger-js into authorizations-fix