We had a request from an external vendor to add the role and type to the portal variables when a user is logged in.
To verify, open the page source code in the browser and search for for
userType and siteRole
verify they're set to the correct values (usually registered/maintain or Instructor)
Also when not logged in verify they are set to nothing.