Create a user session

Authenticates a user and creates a new session cookie.