Fixes #33993 On some ios devices the enable password prompt does not end with a space, add a fix to handle this scenario.