What kind of login, SSH or Connect-VIServer?
connect-viserver local to esxi user
Are you sure the user has been created, the password you provide needs to follow the complexity rules (as defined to the PAM).
Just tried, for me it seems to be working (with a password that follows the rules).
try login with domain\username and your password
default domain is vsphere.local