Revert "Added authentication code to test"

This reverts commit 8bcde31d505b99267c7638a62ee97b9d06b8433b.