Session controller test for login