The source project of this merge request has been removed.
WIP: Fix AccessToken login with ERP5 Login
Since the introduction of ERP5 Login the Access Token is broken, and it is only working if erp5_login.getReference() == person.getUserId()
The API should return the reference and portal type of the valid ERP5 Login of the Person, in order to keep compatibility with the ERP5LoginUserManager API.
/cc @vpelletier @kazuhiko @tc @jerome
PS.: I still need to update tests and get a working test result.