Fixed redirections to the external page (no next=...)
Updated the tests to expect next=... in the redirection