add oauth2 and cxf multipart support