Fix for sessionId being passed for attachments

Spenser Shumaker <sshumake@redhat.com>
Fix populate users check
Merge remote branch 'upstream/master'
Adding negative test for linked BZ directive