If you're on a search result - say http://test.dwagn.org/:search?_keyword=file - when you are signed out, and then sign in, you get redirected to http://test.dwagn.org/*search instead.