starting the authentication activity, based on the Android sample code