RP-1824 Switch CAS to use Portal DB instead Main DB