Add condition if there is a current user to DropdownUser
What does this MR do?
Display no error message if user is not logged in when using issuable search bar.
What are the relevant issue numbers?
https://gitlab.com/gitlab-org/gitlab-ce/issues/34141#note_33295457