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.
Also, just curious, what's up withe the ":" before "search" in the first URL?
colon is for codename. See RESTful Web API
(in other words, :search would still work even if you renamed *search)
also see return directly to interrupted actions