Create a session key for a user by the user's password.
The app key of your app.
The id or full path of the user.
The password of the user.
Set to 1 to create an infinite session.
Set to 1 to grant the session privilege of an organisation admin.
Set to 1 to grant the session privilege of a system admin.
(not implemented) Set to 1 to make the session read-only.