Fix for issue #2421

This fixes reported issue #2421.

Because the id-Tag is missing for the user dropdown boxes in the
template, it is not possible to close the user dropdown box (neither
with the close button in the box nor by clicking the user name again)