Functionality for authenticated redirection improved.