Traefik unable to get basic auth working despite using very basic password on docker swarm

What other information can I look at to fix both the authentication not working and the SSL serving on the homepage of the authentication page?
I wonder that the authentication might just not be working because of how it is being served.