Added toolbar sanity check to ensure there is valid request.user before ...

...building the toolbar

Refs #3659 and pull request #3660