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

where is the Default Directory field, pls?