Return the correct token in authenticate