Fixing auth test