Added unauthenticate method to support CakePHP 2.4 and above.