[Code review changes] Added new token-related handling to call erl_services callback, invoked in case of bad token or token update