Log a message if username/password aren't set and when a search fails or gives 0 results.