Fix to apply API passcode to profile based transactions properly