bug #4793 :  Refine the way the navigation secure is detected
Merge branch 'core-5.12.x' into mmoqui-bug-4793