Overload the REST service user / login

Hello all,

Thank you for your help.
It’s about the REST service and the basic authentification that uses user/login


This service doesn’t return the role of the user in his data. Or only when it’s an administrator.

Is it possible to overload this service or is there a hook to do this?

Again thank you.

Drupal version: 

Source: https://www.drupal.org/taxonomy/term/4/feed