added swagger 1.2 auth spec reading
fix for required properties, #50