Adds options.session for session-based auth.