Fix access to allowed_endpoints field in initial_from_config (error was hidden by misnamed test class fixed in previous commit).
Fix access to allowed_endpoints field in initial_from_config (error was hidden by misnamed test class fixed in previous commit).

praekelt/vumi-go,praekelt/vumi-go,praekelt/vumi-go,praekelt/vumi-go