[CLC-1812] Fix user namespace issue, provide basic test coverage

JIRA: https://jira.media.berkeley.edu/jira/browse/CLC-1812