[PATCH 5/5] mach-k3: security: improve the checks around authentication