Auth fix for register callback