Avoid attempting to authenticate on internal requests

Internal WP_Query calls can cause infinite recursion in certain circumstances. We need to mitigate this.