adds test for previous bug

- Adds test for previous bug that would display both the login and logout options in the overflow menu after searching.