I am adding an answer here because after a day of trying different variations of the solutions here and elsewhere, I found that my issue was something else.
My issue was that, while npm is not case sensitive with regards to package names, yarnis when it comes to authentication!