Improves configureDeviceSpecificActivities to handle activity aliases.
Makes tryAuthenticate non-final.