ENG-7193: Add /profile to get current user's permissions.
ENG-7193: review changes.
ENG-7193: add security.
Merge pull request #1875 from VoltDB/ENG-7193

ENG-7193: Add /profile to get current user's permissions.