I'm setting up a Valheim server and the console messages kept showing an error that said, "valheim "Error bad password:Invalid password". 

A quick Google Search turned up a thread on Reddit that had the answer.

The solution was to simply use a password that is 5 characters or longer. 

After that, I restarted the Valheim server and there were no error messages or warnings.