test auth entity controller