Ray,
The repeated recordset includes do not appear to be the cause of the auto-login not working. They have been removed, but it still does not work.
I do have a live working example, but would prefer to post in a private message, then I could also provide you a login email/password to work with.
Thanks.
D