This was happening because you weren't storing all of the necessary Session variables when a user had selected AutoLogin.
There are two user authentication server behaviors on the page... one for auto login and one for standard login. The rule on the page /admin/teamhome.php was looking for the TeamID session variable, but that session variable wasn't being stored in the Authenticate User server behavior in the autologin case.
I fixed the problem by updating the login page so that the same session variables were stored during the form and auto login server behaviors.