Facebook auth support.

- adds Facebook as a valid 3rd-party auth provider
- moves some moderately janky JS-based logging to the server-side
- maintains integrity of current login-based logging for both old and new 3rd-party-auth flows