fix oauth settings attribute types