PhoneGap Authentication.

Signed-off-by: Anthony <anthfr@users.noreply.github.com>