Put passing authentication tests, bug fixes.

Fixed the issue keeping the authentication module from working.
Added authentication to the http methods that needed it.