Securing Basic-Auth Legacy Protocols