message: invalidate not oauth2 sessions only if needed
diff: @@ -470,10 +470,11 @@ class AlfrescoApi {
  invalidateSession() {
  if (this.oauth2Auth) {
  this.oauth2Auth.invalidateSession();
  - }
  + }else{
  this.ecmAuth.invalidateSession();
  this.bpmAuth.invalidateSession();
  }
  + }
  /**
  * Get the current Ticket for the Bpm
  