Fix bug where password input would remain disabled