Added support for authenticating mobile apps with private deployments