fix auth template tag issue