Tests for admin log in log out

Jingyu