Move 'auth' & 'search' to the registry subsystem

Close #5428
Close #5427

ping @crosbymichael