Redirection fix

When "popup" method is used, redirect the user using the NGConnectLastAccessURI session variable