Refactor Auth Test