removing deprecated methods for setting thirdparty credentials