Symptoms
Second level subdomain test.login.example.com is marked as "not secure", even though a wildcard certificate is installed for *.example.com
Cause
Wildcard certificates cover only one level of subdomains.
Resolution
Issue certificate for test.login.example.com including www prefix.