Allow getting of Authorize and Authenticate objects

Current there is no way of getting an authorize or authenticate object in order to call a custom method on them. This adds a simple getter for authorize and authenticate objects.
I think it should only return one. Making it return one or many is confusing.