Tests of Authentication Controller