start with some basic checks, make sure http and https services are configured and web auth is set to local with priv 15 credentials.
switch# configure terminal
switch(config)# ip http server
switch(config)# ip http secure-server
!
switch# configure terminal
switch(config)# username your_username privilege 15 secret your_password
!
switch(config)# ip http authentication local
-hope this helps-