do not focus username field, if another field is already selected

The problem seems to occur with a slow internet connection or if the theme contain big images. In both cases a javascript, which is placed in the footer, is loaded after the user began to type in his credentials.

The script switches the focus automatically to the “Username”-field. When you start to type in your password before the script is loaded, the focus will jump to the “Username”-field and it is possible that you type in your password in the wrong field.

The patch will only focus the username field, if no other field is focused.