Datastore handler returns 404 if datastore id is unknown. Fixed trailing slash handling in datastore handler.