bug with NotFound in auth fixed