Do not repeat the login process

Log calls to site.login when loginstatus is IN_PROGRESS.
If site.logged_in() is True, set the loginstatus and
do not re-attempt to log in.

Change-Id: Icb4c717201c661eed8d4a13eeaf2bbfb1f58aef0
Merge "Do not repeat the login process"