Fixed issue where additional click() would double submit the login form

Signed-off-by: isszul <Isszul@gmail.com>