Adds a simple authentication library.
Makes the template link helpers always use controller names instead of
controller instances.