[NEXUS-7785] port 'request log user id' changes to master

https://issues.sonatype.org/browse/NEXUS-7785