refactor(auth): make use of the new authentication mechanism