Adding auto-login support.

If user has been logged in before, run login again if we have an error
the P4PASSWD is unset.