Bootstrapped login, added icon option to login providers, partially converted to jQuery, closes #1230, refs #1214.