Fix truth test for authentication