Fix createSession HTTP status code expected