Checks if the user is authenticated through the SecurityContext