Used by the API HTTP endpoints for removing all session variables and cookies related to the user profile.