I just want to report an issue I had and the solution. Obsidian was only telling me my username or password were wrong, but actually my office network's proxy was blocking the connection.
I excluded "*.obsidian.md" from my proxy settings and it works now.