Get SID from login page before logging in