fix broken SessionController test