Honor query strings in login redirect links