Suppress ArrayIndexOutOfBoundsException to allow retry login

Browser will not response after click log in button leaving both username and password blank.