Gets a URL to log in with the given login link instance. Uses the setting LoginLinkUrl unless it is null, otherwise the setting ApplicationUrl.