More tests for authentication