Authentication controller test