Fixed the `auth` function