An error message should be shown as is done in `loginOnTenant`.