How to implement a secure semi-automatic username/password completion solution