Added tag transformation to authentication handler.