Added authorization support

Although the UI does not need it, other systems that consume the swagger json can make use of this and in fact need it to work