When I have a - in the profile name, and use it as described, CDP tries to connect to its default authentiation server, ignoring the endpoint_url options in .cdp/config.
Please make sure that - is handled properly in profile names, or at least give an error if user tries to use it. Right now it's just ignored silently, even when using --debug.