Pug was outputting the literal `value="#{defaultLoginUrl}"` instead of interpreting as a variable. Changing to use the variable directly fixes the issue.