Modified tests for authentication