erp5_oauth2_authorisation: Supports external login and erp5_credential if installed.
If erp5_credential is installed in ERP5, we will use the dialog from erp5_credential instead of accessing portal_password directly.
If erp5_credential is installed in ERP5, we will use the dialog from erp5_credential instead of accessing portal_password directly.
This will create a new commit in order to revert the existing changes.