Fix for key capture

Need to allow keys in password element