Use unicode() instead of str() in TG login Genshi template.

This fixes https://fedorahosted.org/bodhi/ticket/711