Don't attempt to initialize session if API does not support it.
add ability to specify id_field for rest endpoints.