bug #4793 :  Refine the way the navigation secure is detected