Fixing auth refresh