Fix OSX auth crash when entering international characters via long keypress