updating return value for Cerberus::authentication method