Login Agent is really only intended for systems with one active session. It can work with multiple, but it won't be as reliable. Additionally, if the system was RDP'ed into, Login Agent has been known to fail to operate properly.
When you checked the user list via Task Manager, was this secondary account logged in before or after the error?