Authentication controller testing