Reorganize login widget html.
"Add tags" from the frontend now uses the new api.