Make swagger use new authentication mechanism

@cpatrick PTAL