[Fix] Fixed template error in authentication