I think it's because there's a search flood limit in place (as repeat searches can cripple the server) - but it shouldn't happen when viewing a post or logging in?
It could be because you tried to do a search when not logged in properly and then it tried to re-direct to that page just after. If you close the browser and log in again on the main page it should work ok?