Issue #1831780 Fix destination for external url login form
Issue #2311515 by jamesdixon: Have option not to redirect via ?dest after login
Issue #2311515 follow-up: Add variable info for destination option.
Issue #2311515 follow-up: Don't build destination if we won't use it.