correctly select generated password for mobile safari

tested with iOS 6.1.3 (Mobile Safari), Firefox 22.0 and Safari 6.0.5