Add filter to override core auth method