Add login controller test.
Test login redirection.