Updated the auths middleware to have a configurable name.