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.