Added test for AlreadyLoggedin exception.