Move most of the auth logic to use Angular. Still a bit hackish, but it's working.
Fixed the way jade was being compiled on the Gruntfile.