various authentication integrations

this will be refactored someday