Allow a redirect url to be set and followed on login.