ENYO-2306: bdPhoneGap: re-implement getToken() & getUserData()

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>