Fix auth fields potentially losing origin (fixes #104)
Allow a provider string to be sent to the backend during authentication