Issue #3094525 by mglaman: UiHelperTrait::drupalLogin breaks when user.login or user.logout route paths altered
mentioned in commit 818a0836
mentioned in commit 8317df1d