Updating the auth layer to use the most current cake implementation of authentication.