Fixing the authorization email template.
Moving utility classes to common assembly.