Implement User-Password decoder, against my will