How to authorize user with email/password from server code?

What value do I use for the connection name?