Let's test by changing "static::OWA_FORM_BASE_SSO_CFG_NAME" to "static::OWA_FORM_BASE_SSO_CFG_NAME_TEST" in *only* the wud_owa_test.app iRule:
when RULE_INIT {
set static::OWA_FORM_BASE_SSO_CFG_NAME_TEST "/vpn/wud_owa_test.app/exchange_forms_sso"
}
when ACCESS_ACL_ALLOWED {
set req_uri [HTTP::uri]
if { $req_uri contains "/owa/&reason=0" } {
WEBSSO::select $static::OWA_FORM_BASE_SSO_CFG_NAME_TEST
}
unset req_uri
}
You will need to disable strictness from the properties page of the wud_owa_test.app iApp first, then edit the iRule.
Every time you do a new test, you should delete any existing APM sessions for the test client first by clicking on Access Policy>Manage Sessions.