Implement password property in TextField.