SecuritySR is not being set anywhere, set global SecuritySR during authentication