The controller's captive portal authentication profile's welcome page parameter can override anything if an external page is set. This is true if you are using the controller alone, OR cpg with the controller.
Leaving the captive portal authentication profile to the defaults will allow cpg to change the behavior.