Dirty fix for password entry and for certificate acceptance