Set principal name from request attribute