Get user from request and put in authz attribs.

Added integration tests for user-based auth.
Merge pull request #2117 from erictune/get_user_attrib

Use user-string in authentication attributes.