Login / Registration

WIP right now, needs a few more tests and documentation / clean up. Also adds responsive email template, secure cookies for NGINX, TOC, Privacy Policy, and mobile styling fixes.
Would it be better to do all of this on a exported object other than globals? I haven't seen this done before, so I am not 100% of the repercussions if there are any. My vote is having something like module.exports = exports = appObject