Removes redundant boolean parameter from onAuthenticated.