The Authentication module is expecting a method called endpoint_uri to be defined. 

I had originally wanted to add a included method in Authentication to check to see if the proper methods where defined in the including class, but it only worked if the Authentication module was included at the end of the class definition. I flet that could cause problems in the long run.