Login autofocus fix