used DevAppIdentityService if App Engine is in dev mode.