added swagger 1.2 auth spec reading