Swapped hook decorator with authenticate decoration.