add utility functions for login / register, to reduce code duplication
in local v oauth strategy register/login logic
misc tweaks
Merge branch '0.5' of https://github.com/lefnire/derby-auth into username

Conflicts:
	middleware.coffee