Make sure to reset user_login/user_password after authentication.

Permissions checks and event logs behave as if the auth'ed login is active as opposed to the script.  This behavior was introduced when setting up for python 2.4 compatibility, and is a bug.