[api] Replaced CONFIG['ichain_mode'] with ApplicationSettings::AuthIchainMode