Suddenly the search form redirect to login page

After I installed the Ultimate Branding when logged users searches using a search form on the page, it gets redirected to the wp-login.php page again.

I'm using a Force login plugin ans it works ok if I deactivate the Ultimate Branding.