AddIdentity (called by AddInfrastructure) sets default cookie paths (/Account/Login) that override our custom paths. Move ConfigureApplicationCookie after AddInfrastructure to ensure our custom paths (/login) take precedence.
AddIdentity (called by AddInfrastructure) sets default cookie paths (/Account/Login) that override our custom paths. Move ConfigureApplicationCookie after AddInfrastructure to ensure our custom paths (/login) take precedence.