Changed 'realm' to 'region' in configuration.