Fix local mode error when retrieving Client Credential Secrets from Env variable by removing local mode exception