[CW] [81987192] Add logout class to beginning of class names

If the login link has a CSS class, then `logout` will be added to the end. This switches it to the beginning. Autotagging looks at the first CSS class.