Addwd oAuth2 behaviors method in REST module