Fixed always authenticated from local testing.