Issue 562: The PP should be able to handle https-only tenants.
Renaming RestContext.userId to RestContent.username