fixed unit test authentication (poc)