Fixed some indentations
Added authenticate hook
Merge pull request #19 from humanmade/19-authenticate-hook

Add support for default 'authenticate' hook